package com.jushu.storbox.constant;

import java.util.Date;

import android.os.Environment;

public class ClientConfig {
	public static final int ALLFILE = 0;

	public static final int SHARES = 1;

	public static final int FAVORITE = 2;

	public static int LOGINSTATE = 0;

	public static final String USERNAME = "USERNAME";
	
	public static final String LOGINPASSWORD = "LOGINPASSWORD";

	/** CURRENTUSERNAME */
	public static final String CURRENTUSERNAME = "CURRENTUSERNAME";
	
	/** current cache path */
	public static final String CURRENT_CACHE_PATH = "CURRENTCACHEPATH";
	
	public static final String PASSWORD = "PASSWORD";

	 public static String SERVICEADD = "";
	 
	public final static String LOGIN_STATE = "login_status";

	public static final String SERVER_ADDRESS = "SERVER_ADDRESS";
	
	public static final String UAM_ADDRESS = "UAM_ADDRESS";
	
	public static final String UFM_ADDRESS = "UFM_ADDRESS";

	public static final String settings = "settings";

	//
	public static final String DEVICEINFO_IMEI = "deviceinfo_imei";

	public static final String GETLISTSUCCESS = "GETLISTSUCCESS";

	public static final String FILEDOWNLOADPATH = Environment
			.getExternalStorageDirectory() + "/CloudDrive/download/";

	/** file sqlite db path */
	public static final String FILEDATABASEPATH = Environment
			.getExternalStorageDirectory() + "/CloudDrive/Database/";

	public static final String FILELOGPATH = Environment
			.getExternalStorageDirectory() + "//CloudDrive//log//";
	
	public static final String ALBUM_PATH = Environment
			.getExternalStorageDirectory() + "/DCIM/Camera/";

//	public static final String THUMBNAIL = Environment
//			.getExternalStorageDirectory() + "//CloudDrive//thumbnail//";
	
	public static final String MY_THUMBNAIL = "/mythumbnail/";
	
	public static final String SHARED_THUMBNAIL = "/sharedthumbnail/";

	public static final String FILEDATARMSPATH = Environment
			.getExternalStorageDirectory() + "//CloudDrive//rmsdocment//";

	/** THUMBNAIL HEIGHT */
	public static final int THUMBNAIL_HEIGHT = 75;
	/** THUMBNAIL WIDTH */
	public static final int THUMBNAIL_WIDTH = 75;
	
	/** THUMBNAIL HEIGHT */
	public static final int LOCAL_THUMBNAIL_HEIGHT = 180;
	/** THUMBNAIL WIDTH */
	public static final int LOCAL_THUMBNAIL_WIDTH = 180;

	public static final String HTTP_INTERNET_DOMAIN = "http://www.google.com/huaweicopyright";

	public static final String AUTOLOGIN = "AUTOLOGIN";

	/** auto login setting name */
	public static final String AUTOLOGIN_SETTING = "AUTOLOGIN_SETTING";

	/** login wait activity name */
	public static final String LOGINWAITACTIVITY = "LOGINWAITACTIVITY";

	public static final String SAVEDTIME = "SAVEDTIME";
	
	public static final String EXPIREDAT = "EXPIREDAT";

	public static final String CURRENTTIME = "CURRENTTIME";

	/** share resource item */
	public static final String RESOURCE_CLASS = "RESOURCE_CLASS";

	/** filelist orderby */
	public static final String FILELIST_ORDERBY = "ORDERBY";

	/** AUTHORIZATION */
	public static final String AUTHORIZATION = "AUTHORIZATION";

	/** OWNERID */
	public static final String OWNERID = "OWNERID";
	
	/** CLEAN TEMP TIME */
	public static final String CLEANTEMPTIME = "CLEANTEMPTIME";
	
	/** Cache Default Path */
	public static final String CACHE_DEFAULT_PATH = Environment
			.getExternalStorageDirectory() + "/CloudDrive";
	
	/** Cache Context */
	public static final String CACHE_CONTEXT = "/data/";

	/** LOGPATH */
	public static final String LOGPATH = Environment
			.getExternalStorageDirectory() + "/CloudDrive/log/";

	/** LOGPATH */
	public static final String EMAIL_ATTACHMENT_PATH = "/EmailAttachment/";

	/** SHARE DOWNLOAD PATH */
	public static final String SHAREDOWNLOAD = "/sharedownload/";

	/** MY DOWNLOAD PATH */
	public static final String MYDOWNLOAD = "/mydownload/";

	/** MY DOWNLOAD PATH */
	public static final String TEMPDOWNLOAD = "/tempdownload/";

	/** LOG */
	public static final String LOG = "LOG/";

	/** REFRESHTOKEN */
	public static final String REFRESHTOKEN = "REFRESHTOKEN";

	/** INTERNETSTATE */
	public static final String INTERNETSTATE = "INTERNETSTATE";

	/** DIY SCROLLINGVIEW ACTION : REFRESHING */
	public static final int REFRESHING = 1;

	/** DIY SCROLLINGVIEW ACTION : RESET */
	public static final int RESET = 0;
	/** current password */
	public static final String CURRENTPASSWORD = "CURRENTPASSWORD";
	/** LOACK PASSWORD*/
	public static final String LOACKPASSWORE = "LOACKPASSWORE";
	/** count per page */
	public static final int CLOUD_COUNT_PER_PAGE = 25;
	/** count per offset */
	public static final int CLOUD_COUNT_offset = 0;
	/** count per page */
	public static final int SHARED_COUNT_PER_PAGE = 10;
	/** refresh time */
	public static final int REFRESH_TIME = 30 * 60 * 1000;
//	public static final int REFRESH_TIME = 0 * 60 * 1000;
	/** is 3G */
	public static final String IS3GWIFI = "IS3GWIFI";
	/** obtain fold file list fail */
	public static final int FAILTOOBTAINLIST = 5;
	/** flag whether login in background */
	public static final String LOGIN_BACKGROUND = "LOGIN_BACKGROUND";

	public static final long PICTURESIZELIMIT = 8 * 1024 * 1024;
	//clean temp time 1�?000 * 60 * 60 * 24
	public static final long CLEAN_TIME = 1000 * 60 * 60 * 24;
	// DES OR AES
	public static final String CLOUD_DES = "CLOUD_DES";
	public static  int NOTIFICATION_ID = 1000;

	// ORDERBY : "modifiedAt" ,"size","name"
	public static final String CLOUD_ORDERBY = "CLOUD_ORDERBY";

	// WIFI TYPE : IS 3G
	public static final String NETWORK_IS3G = "NETWORK_IS3G";

	// WIFI TYPE : IS WIFI
	public static final String NETWORK_ISWIFI = "NETWORK_ISWIFI";

	// WIFI TYPE : IS NOT AVAILIBLE
	public static final String NETWORK_IS_NOT_AVAILIBLE = "NETWORK_IS_NOT_AVAILIBLE";
	
	//download remind
	public static final String CLOUD_DOWNLOADREMIND = "CLOUD_DOWNLOADREMIND";
	
	//album backup
	public static final String ALBUM_BACKUP = "ALBUM_BACKUP";
	
	public static final String PRF_NAME_ABOUT_UPDATE = "PRE_NAME_ABOUT_UPDATE";
	
	public static final int SENDFROMUPGRAGE = 1000;
	
	public static final int SENDFROMLOGIN = 1004;
	
	/** send from folder */
	public final static int SENDFROMCREATEFOLDER = 1001;

	/** send from delete */
	public final static int SENDFROMDELETEFILE = 1002;
	
	/** send from delete */
	public final static int SENDFROMDELETEFOLDER = 1009;

	/** send from move */
	public final static int SENDFROMMOVEFILE = 1003;
	
	/** send from move */
	public final static int SENDFROMMOVEFOLDER = 1010;

	/** send from Rename */
	public final static int SENDFROMRENAMEFILE = 1005;
	
	/** send from Rename */
	public final static int SENDFROMRENAMEFOLDER = 1011;
	
	/** refresh token */
	public final static int SENDFROMREFRESHTOKEN = 1006;

	public final static int UPLODADUPDATE = 1007;

	/** send from GetResource */
	public final static int SENDFROMGETRESOURCE = 1008;
	
	public final static int SENDFROMUPLOADFILE = 1012;
	
	public final static int SENDFROMDOWNLOADFILE = 1013;
	
	public final static int SENDFROMGETSHAREBASERESOURCE = 1014;
	
	public final static int SENDFROMGETSHARERESOURCE = 1015;
	
	public final static int SENDFROMSHARERESOURCE= 1016;
	
	public static final int INODEDELETEFILEORFOLDERLOGINFAIL = 1017; //inode delete login fail
	
	public static final int INODEDELETEFILEORFOLDERLOGINSUCCESS = 1018; //inode delete login success
	
	public static final int TARGETFILEFAIL = 1019; 
	
	public static final int TARGETFILESUCCESS = 1020; 
	
	/** send from getlink */
    public final static int SENDFROMGETLINK = 1021;
    
    /** send from sharelink */
    public final static int SENDFROMSHARELINK = 1022;
    
    /**file or folder path not change*/
	public static final int FILEPATH_NOT_CHANGE = 1023;

    /** send from get uam address */
    public final static int SEND_FROM_GET_UAM_ADDRESS = 1024;

    /** send from get ufm address */
    public final static int SEND_FROM_GET_UFM_ADDRESS = 1025;
    
    public final static int SEND_FROM_GET_NODEINFOMATION = 1030;
    public final static int NODE_SHARED_STATE_TRUE = 0;
    public final static int NODE_SHARED_STATE_FALSE = 1;
    public final static int NODE_SHARED_STATE_UNKNOWN = 2;
    
	public final static String SCROLLVIEWHEIGHT= "SCROLLVIEWHEIGHT";
	
	public final static String ITEMVIEW= "ITEMVIEW";
	public static String PICTURE_NAME = "";
	
	/** take photo */
	public static final String IMAGE_UNSPECIFIED = "image/*";
	public static final String ONEBOX_TAKE_PHOHO_DIC = Environment.getExternalStorageDirectory() + "//CloudDrive//takephoto//";

	public static final String AUTO_SAFETY_LOCK = "autoSafetyLock";
	public static Date LOACK_DATA = null;
	
	public static final String UPGRADE_APK_DOWNLOAD_STATUS = "newApkIsDownloading";
	
	public static final String FILE_FOLDER_INFO = "fileFolderInfo";
	
	public static final String NOT_NEED_NOTIFY = "notNotify";

	public static final String ANYOFFICE_PACKAGE_NAME = "com.huawei.svn.hiwork";
	
	public static final String ENABLE_ALBUM = "enable_album";
	
	public static final String TEAM_SPACE_AUTHORITY="team_space_authority";
	public static final String TEAM_SPACE_ADMIN="admin";
	public static final String TEAM_SPACE_MANAGER="manager";
	public static final String TEAM_SPACE_MEMBER="member";
	public static final String TEAM_SPACE_AUTHER="auther";
	public static final String TEAM_SPACE_EDITOR="editor";
	public static final String TEAM_SPACE_VIEWER="viewer";
}
